package com.zhengaz.common.core.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhengzg
 * @create 2023-09-07 17:57
 */
@Data
@ApiModel("分页返回实体")
public class PageVo<T> {

    @ApiModelProperty("总条数")
    private long total;

    @ApiModelProperty("查询条数")
    private long pageSize;

    @ApiModelProperty("查询页数")
    private long current;

    @ApiModelProperty("数据")
    private T data;

}
